/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pipeline;

/**
 *
 * @author moshka
 */
public class TopBufferElements {
    private KeyboardCandidate[] top;
    private double biggsetScore = Double.MAX_VALUE;
    private int location = 0;

    public TopBufferElements(int size) {
        this.top = new KeyboardCandidate[size];
    }



    public double getBiggsetScore() {
        return biggsetScore;
    }

    public int getLocation() {
        return location;
    }

    public void addLocation(){
        this.location++;
    }

    public KeyboardCandidate[] getTop() {
        return top;
    }

    public void setBiggsetScore(double biggsetScore) {
        this.biggsetScore = biggsetScore;
    }

    public void setLocation(int location) {
        this.location = location;
    }

    public void setTop(KeyboardCandidate[] top) {
        this.top = top;
    }



}
